﻿using System;
using System.Collections.Generic;

namespace Sustainalytics.Utils
{
    public class AssessementList
    {
        public class CompanyList
        {
            public Guid Id { get; set; }
            public string CompanyName { get; set; }
            public string CompanyNameSafeUrl { get; set; }
            public string Exchange { get; set; }
            public string Ticker { get; set; }
            public string Industry { get; set; }
            public IEnumerable<PIIndicators> Indicators { get; set; }
        }

        public class PIIndicators
        {
            public string Symbol { get; set; }
            public string Name { get; set; }
            public List<PICategory> Categories { get; set; }
        }

        public class PICategory
        {
            public PICategory(string symbol, string name, string levelOfInvolvement, string rangeOwnership)
            {
                Symbol = symbol;
                Name = name;
                LevelOfInvolvement = levelOfInvolvement;
                RangeOwnership = rangeOwnership;
            }

            public string Symbol { get; set; }
            public string Name { get; set; }
            public string LevelOfInvolvement { get; set; }
            public string RangeOwnership { get; set; }
        }
    }
}
